import request from '@/utils/request'

// 查询股指期货信息列表
export function getEquityFuturesInfoList(query) {
    return request({
        url: '/marketdata/futuresController/queryequityFutureInfoByPage.action',
        method: 'get',
        params: query
    })
}

// 查询股指期货行情列表
export function getEquityFuturesQuotaList(query) {
    return request({
        url: '/marketdata/futuresController/queryequityFuturePriceByPage.action',
        method: 'get',
        params: query
    })
}

// 修改股指期货行情
export function updayeEquityFuturesQuota(futureFrom) {
    return request({
        url: '/marketdata/futuresController/updateequityFuturePrice.action',
        method: 'post',
        data: futureFrom
    })
}
